package com.bwie.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;


@Getter
public enum SuatusEnums  {


     PRODUCTSTATUS1(0,"待上架"),
     PRODUCTSTATUS2(1,"上架"),
     PRODUCTSTATUS3(2,"下架");


     @EnumValue
      private Integer productStatus;

     @JsonValue
      private String statusName;

    SuatusEnums(Integer productStatus,String statusName) {
        this.productStatus = productStatus;
        this.statusName=statusName;

    }
}
